package com.javasea.netty.har.client;

import com.javasea.netty.har.client.netty.PrinterClient;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication(scanBasePackages = {"com.javasea.netty.har"})
public class ChatClientAPPlication {
    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(ChatClientAPPlication.class, args);
        PrinterClient printerClient = applicationContext.getBean(PrinterClient.class);
        printerClient.start();
    }

}
